-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core][collective] Support customizing gloo timeout #50223
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
@HollowMan6 BTW, what's your usecase? |
@jovany-wang Thanks for reviewing! It's for resolving the timeout issue when sending large tensors via gloo with ray collective communication lib. |
@HollowMan6 Are you going to apply this feature into OpenRLHF or something like it? |
Oops, maybe ask for an unit test. |
524035e
to
5d70c6c
Compare
Yes and probably sometime after this release. But actually I think this is widely applicable whenever users think that 30 seconds of default gloo timeout is not enough for them.
I added it to |
8f6f810
to
89f5920
Compare
The default gloo timeout is 30 seconds, which might not be enough for some use cases. Should be used together with ray-project/pygloo#34 so that the parameters can be properly passed to gloo. Signed-off-by: Hollow Man <hollowman@opensuse.org>
So that users can get access to the specific Group and have more control over the context Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
89f5920
to
6e58965
Compare
## Why are these changes needed? Should be used together with ray-project/pygloo#34 so that the parameters can be properly passed to gloo. <!-- Please give a short summary of the change and the problem this solves. --> <!-- For example: "Closes ray-project#1234" --> ## Checks - [X] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [X] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [X] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [X] Unit tests - [ ] Release tests - [ ] This PR is not tested :( --------- Signed-off-by: Hollow Man <hollowman@opensuse.org> Signed-off-by: vs030455 <vamshikdshetty@gmail.com>
## Why are these changes needed? Should be used together with ray-project/pygloo#34 so that the parameters can be properly passed to gloo. <!-- Please give a short summary of the change and the problem this solves. --> <!-- For example: "Closes ray-project#1234" --> ## Checks - [X] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [X] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [X] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [X] Unit tests - [ ] Release tests - [ ] This PR is not tested :( --------- Signed-off-by: Hollow Man <hollowman@opensuse.org>
## Why are these changes needed? Should be used together with ray-project/pygloo#34 so that the parameters can be properly passed to gloo. <!-- Please give a short summary of the change and the problem this solves. --> <!-- For example: "Closes ray-project#1234" --> ## Checks - [X] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [X] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [X] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [X] Unit tests - [ ] Release tests - [ ] This PR is not tested :( --------- Signed-off-by: Hollow Man <hollowman@opensuse.org>
Why are these changes needed?
Should be used together with ray-project/pygloo#34 so that the parameters can be properly passed to gloo.
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.